package com.example.spring.boot;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
public class HelloController {

    @RequestMapping("/")
    public List index() {
        List list = new ArrayList();
       if(true)throw new RuntimeException("kk");
        list.add("spring boot OK!");
        return list;
    }


}
